<?php

namespace AppBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * P2pAdminLog
 *
 * @ORM\Table(name="p2p_admin_log", indexes={@ORM\Index(name="admin_id", columns={"admin_id"})})
 * @ORM\Entity
 */
class P2pAdminLog
{
    /**
     * @var integer
     *
     * @ORM\Column(name="admin_id", type="integer", nullable=false)
     */
    private $adminId = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="al_time", type="integer", nullable=false)
     */
    private $alTime = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="al_ip", type="string", length=45, nullable=false)
     */
    private $alIp;

    /**
     * @var string
     *
     * @ORM\Column(name="al_browser", type="string", length=60, nullable=false)
     */
    private $alBrowser;

    /**
     * @var string
     *
     * @ORM\Column(name="al_remarks", type="string", length=100, nullable=true)
     */
    private $alRemarks;

    /**
     * @var integer
     *
     * @ORM\Column(name="b_id", type="integer", nullable=false)
     */
    private $bId = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="al_id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $alId;



    /**
     * Set adminId
     *
     * @param integer $adminId
     *
     * @return P2pAdminLog
     */
    public function setAdminId($adminId)
    {
        $this->adminId = $adminId;

        return $this;
    }

    /**
     * Get adminId
     *
     * @return integer
     */
    public function getAdminId()
    {
        return $this->adminId;
    }

    /**
     * Set alTime
     *
     * @param integer $alTime
     *
     * @return P2pAdminLog
     */
    public function setAlTime($alTime)
    {
        $this->alTime = $alTime;

        return $this;
    }

    /**
     * Get alTime
     *
     * @return integer
     */
    public function getAlTime()
    {
        return $this->alTime;
    }

    /**
     * Set alIp
     *
     * @param string $alIp
     *
     * @return P2pAdminLog
     */
    public function setAlIp($alIp)
    {
        $this->alIp = $alIp;

        return $this;
    }

    /**
     * Get alIp
     *
     * @return string
     */
    public function getAlIp()
    {
        return $this->alIp;
    }

    /**
     * Set alBrowser
     *
     * @param string $alBrowser
     *
     * @return P2pAdminLog
     */
    public function setAlBrowser($alBrowser)
    {
        $this->alBrowser = $alBrowser;

        return $this;
    }

    /**
     * Get alBrowser
     *
     * @return string
     */
    public function getAlBrowser()
    {
        return $this->alBrowser;
    }

    /**
     * Set alRemarks
     *
     * @param string $alRemarks
     *
     * @return P2pAdminLog
     */
    public function setAlRemarks($alRemarks)
    {
        $this->alRemarks = $alRemarks;

        return $this;
    }

    /**
     * Get alRemarks
     *
     * @return string
     */
    public function getAlRemarks()
    {
        return $this->alRemarks;
    }

    /**
     * Set bId
     *
     * @param integer $bId
     *
     * @return P2pAdminLog
     */
    public function setBId($bId)
    {
        $this->bId = $bId;

        return $this;
    }

    /**
     * Get bId
     *
     * @return integer
     */
    public function getBId()
    {
        return $this->bId;
    }

    /**
     * Get alId
     *
     * @return integer
     */
    public function getAlId()
    {
        return $this->alId;
    }
}
